package saxion.speelveld.spaceengineer.buildings;

import saxion.speelveld.spaceengineer.R;
import saxion.speelveld.spaceengineer.model.ProducingBuilding;
import saxion.speelveld.spaceengineer.model.Resource;
import saxion.speelveld.spaceengineer.model.ResourceType;

public class RecreationCenter extends ProducingBuilding
{

	public RecreationCenter()
	{
		super(3, 2);
		super.setBuildingName(RecreationCenter.this.getClass().getSimpleName());
		super.setBuildingExplanation("The Recreation Center attracts people and makes them happy.");
		super.resourceCosts.add(new Resource(ResourceType.MONEY, 400));
		super.resourceCosts.add(new Resource(ResourceType.ELECTRICITY, 25));
		super.resourceCosts.add(new Resource(ResourceType.WATER, 150));
		super.resourceCosts.add(new Resource(ResourceType.GLASS, 200));
		super.resourceCosts.add(new Resource(ResourceType.METAL, 100));

		super.addResourceProduceGain(new Resource(ResourceType.HAPPINESS, 5, false));

		// Mitchell's idee
		// super.setResourcesProduced(ResourceType.HAPPINESS);
		// super.setProductioncapacity(2);

		super.resourceImages = new int[6];
		super.resourceImages[0] = R.drawable.recreationcenter_0;
		super.resourceImages[1] = R.drawable.recreationcenter_1;
		super.resourceImages[2] = R.drawable.recreationcenter_2;
		super.resourceImages[3] = R.drawable.recreationcenter_3;
		super.resourceImages[4] = R.drawable.recreationcenter_4;
		super.resourceImages[5] = R.drawable.recreationcenter_5;
		super.setPreviewResourceImageId(R.drawable.recreationcenter);
	}

	// @Override
	// public int produceGoods()
	// {
	// return 0;
	// }

}
